package edu.java.lectures.lec03;

public enum ElectricDevice {

    DC_MOTOR(Current.DIRECT), 
    
    AC_MOTOR(Current.ALTERNATE);

    private Current current;

    private ElectricDevice(Current current) {
	this.current = current;
    }

    enum Current {
	DIRECT,

	ALTERNATE;
    }
}
